home *** CD-ROM | disk | FTP | other *** search
/ The Ultimate Frank Lloyd…ght - America's Architect / Ultimate Frank Lloyd Wright, The - America's Architect (1994)(Microsoft Home).iso / pre / flw / flwche.dir / 00051_Script_51 < prev    next >
Text File  |  1994-11-15  |  5KB  |  178 lines

  1. on startMovie
  2.   cursor 4
  3.   global nowFrame, currMM
  4.   global horNess, dialogOn 
  5.   set dialogOn = FALSE
  6.   set currMM = "FLWWW"
  7.   set horNess = "h"
  8.   puppetSprite 22, TRUE
  9.   puppetSprite 23, TRUE
  10.   puppetSprite 21, TRUE
  11.   puppetSprite 14, TRUE
  12.   puppetSprite 8, TRUE
  13.   set the immediate of sprite 23 to TRUE
  14.   set the stretch of sprite 23 to FALSE
  15.   cursor -1
  16. end startMovie
  17.  
  18. on stepMovie
  19.   global nowFrame,currFrame
  20.   if nowFrame <> currFrame then
  21.     seeAlsoList
  22.     set currFrame = nowFrame
  23.   end if
  24. end stepMovie
  25.  
  26. on stopMovie
  27.   put " " into field "SeeAlsoText"
  28.   set the castNum of sprite 21 to 1050
  29.   puppetSprite 21, FALSE
  30.   updateStage
  31. end stopMovie
  32.  
  33. on saveLocals
  34.   global lastFrame, nowFrame, lastMovie
  35.   set lastMovie = "FLWCHE"
  36.   set lastFrame = nowFrame
  37. end saveLocals
  38.  
  39. on buttonState
  40.   global bflag, FrankNav, dialogOn
  41.   
  42.   if dialogOn = FALSE then
  43.     
  44.     if rollover(15) then
  45.       periodRoll
  46.     else 
  47.       set the locV of sprite 14 to 490
  48.     end if
  49.     
  50.     -- don't check global buttons unless mouse is down at bottom
  51.     if (the mouseV > 200) or (bFlag = TRUE) then
  52.       set bFlag = FALSE
  53.       doState
  54.     end if
  55.   else if dialogOn = TRUE then
  56.     if the mouseDown then 
  57.       if the mouseCast <> the number of cast "glossDialog" then
  58.         beep
  59.       end if
  60.     end if
  61.   end if
  62. end buttonState
  63.  
  64. on chBackStep
  65.   global nowFrame
  66.   puppetSprite 8, FALSE
  67.   if nowFrame = "ch000bld001°°°" then
  68.     puppetTransition 1, 0, 8
  69.     go to frame "ch000bld150°°°" of movie "FLWCHL"
  70.   else
  71.     puppetTransition 1, 0, 8
  72.     go marker (-1)
  73.   end if
  74.   puppetSprite 8, TRUE
  75.   updateStage
  76.   unLoadCast 9,44
  77. end chBackStep
  78.  
  79. on chForStep
  80.   global nowFrame
  81.   puppetSprite 8, FALSE
  82.   if nowFrame = "ch000bld018°°°" then
  83.     puppetTransition 2, 0, 8
  84.     go to frame "ch000bld019°°°" of movie "FLWCHF"
  85.   else
  86.     puppetTransition 2, 0, 8
  87.     go marker (+1)
  88.   end if
  89.   puppetSprite 8, TRUE
  90.   updateStage
  91.   unLoadCast 9,44
  92. end chForStep
  93.  
  94. on textRoll txHt
  95.   global origLocV, topHat, horNess, dialogOn, seeAlsoBox
  96.   
  97.   if dialogOn = FALSE and seeAlsoBox = FALSE then
  98.     
  99.     set topHat = txHt
  100.     
  101.     if horNess = "ver" then
  102.       if the mouseH < 230 and the mouseV > 366 and the mouseV < 429 then
  103.         set the locV of sprite 8 to txHt
  104.         set the ink of sprite 16 to 8
  105.         set the foreColor of sprite 16 to 215
  106.         set rolledAlready = TRUE
  107.       else if the mouseH > 230 or the mouseV > 429 or the mouseV < topHat then
  108.         set the locV of sprite 8 to 364
  109.         set the ink of sprite 16 to 36
  110.         set the forecolor of sprite 16 to 0
  111.       end if
  112.       set horNess = "h"
  113.     else
  114.       if the mouseH < 414 and the mouseV > 366 and the mouseV < 429 then
  115.         set the locV of sprite 8 to txHt
  116.         set the ink of sprite 16 to 8
  117.         set the foreColor of sprite 16 to 215
  118.         set rolledAlready = TRUE
  119.       else if the mouseH > 414 or the mouseV > 429 or the mouseV < topHat then
  120.         set the locV of sprite 8 to 364
  121.         set the ink of sprite 16 to 36
  122.         set the forecolor of sprite 16 to 0
  123.       end if
  124.     end if
  125.     --updateStage
  126.   end if
  127. end textRoll
  128.  
  129. on periodRoll
  130.   global perV, thumbTrack
  131.   put the mouseV - 206 into perV
  132.   put perV / 24 into perV
  133.   if perV = 0 then
  134.     set the locV of sprite 14 to 206
  135.   else if perV = 1 then
  136.     set the locV of sprite 14 to 230
  137.   else if perV = 2 then
  138.     set the locV of sprite 14 to 254
  139.   else if perV = 3 then
  140.     set the locV of sprite 14 to 278
  141.   else if perV = 4 then
  142.     set the locV of sprite 14 to 302
  143.   else if perV = 5 then
  144.     set the locV of sprite 14 to 326
  145.   else if perV = 6 then
  146.     set the locV of sprite 14 to 350
  147.   else if perV = 7 then
  148.     set the locV of sprite 14 to 374
  149.   else 
  150.     set the locV of sprite 14 to 490
  151.   end if
  152.   updateStage
  153. end periodRoll
  154.  
  155. on goPeriod
  156.   global perV
  157.   puppetSprite 8, FALSE
  158.   if perV = 0 then
  159.     go to frame "ch000bld001°°°"
  160.     puppetSprite 8, TRUE
  161.   else if perV = 1 then
  162.     go to frame "ch000bld003°°°"
  163.     puppetSprite 8, TRUE
  164.   else if perV = 2 then
  165.     go to frame "ch000bld019°°°" of movie "FLWCHF"
  166.   else if perV = 3 then
  167.     go to frame "ch000bld061°°°" of movie "FLWCHG"
  168.   else if perV = 4 then
  169.     go to frame "ch000bld074°°°" of movie "FLWCHG"
  170.   else if perV = 5 then
  171.     go to frame "ch000bld083°°°" of movie "FLWCHJ"
  172.   else if perV = 6 then
  173.     go to frame "ch000bld100°°°" of movie "FLWCHK"
  174.   else if perV = 7 then
  175.     go to frame "ch000bld118°°°" of movie "FLWCHL"
  176.   end if
  177.   updateStage
  178. end goPeriod